package me.firstapp.module.weixin.product;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import me.firstapp.module.base.BaseEntity;

@Entity
@Table(name = "REBATE_GRID")
public class RebateGrid extends BaseEntity {

	private static final long serialVersionUID = 5508621451149721631L;

	@Column(name = "PRODUCT_ID", nullable = false)
	private Long productId;

	@Column(name = "COL1", length = 100, nullable = false)
	private String col1;

	@Column(name = "COL2", length = 200)
	private String col2;

	// 排序
	@Column(name = "SORT", nullable = false, columnDefinition = "TINYINT")
	private Integer sort;

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getCol1() {
		return col1;
	}

	public void setCol1(String col1) {
		this.col1 = col1;
	}

	public String getCol2() {
		return col2;
	}

	public void setCol2(String col2) {
		this.col2 = col2;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
